import {request} from "@utils/http/index"
import {ReqHospitalSetParams,ResponseHospitalSet} from './model/hospitalSetTypes'

export function getHospitalSetList(params:ReqHospitalSetParams){
    return request.get<any,ResponseHospitalSet>(`/admin/hosp/hospitalSet/${params.page}/${params.limit}`,{
        params:{
            hosname:params.hosname,
            hoscode:params.hoscode
        }
    })
}